package com.ztools.pc.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ztools.common.model.pc.sys.UserRole;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author:一口香菜
 * @Date: 2023/3/4  13:17
 * @Version 1.0
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    /**
     * 根据UserId删除数据
     *
     * @param userId
     * @return
     */
    boolean deleteByUserId(Long userId);

}
